import 'package:get/get.dart';
import 'package:getxdemo/ui/page/home_page/binding.dart';
import 'package:getxdemo/ui/page/home_page/logic.dart';
import 'package:getxdemo/ui/page/home_page/view.dart';
import 'package:getxdemo/ui/page/login_page/binding.dart';
import 'package:getxdemo/ui/page/login_page/view.dart';
import 'package:getxdemo/ui/page/splash_page/view.dart';
import '../ui/page/splash_page/binding.dart';

abstract class Routes {
  static const splashPage = "/splash";
  static const loginPage = "/login";
  static const homePage = "/home";

  static final routePages = [
    GetPage(
      name: splashPage,
      page: () => const SplashPage(),
      binding: SplashPageBinding(),
    ),
    GetPage(
      name: loginPage,
      page: () => const LoginPage(),
      binding: LoginBinding(),
    ),
    GetPage(
      name: homePage,
      page: () => HomePage(),
      binding: HomeBinding(),
    ),
  ];
}
